* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.category {
    position: absolute;
    top: 64px;
    left: 40px;
    z-index: 4;
    float: left;
    margin-top: -512px;
    width: 200px;
    height: 482px;
    font-size: 0;
    line-height: 1;
    background: rgba(255, 255, 255, .65);
    writing-mode: vertical-lr;
    text-align: center;
    li {
        display: inline-block;
        writing-mode: horizontal-tb;
        width: 100%;
        height: 60px;
        
        a {
            position: relative;
            display: block;
            padding: 0 48px 0 42px;
            color: #333;
            font-size: 14px;
            line-height: 60px;
            text-align: left;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 16px;
        }
        .category-box {
            display: none;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 100%;
            text-align: left;
            white-space: nowrap;
            background: #fff;
            background-clip: padding-box;
            border-left: 14px solid transparent;
            .category-detail {
                display: inline-block;
                vertical-align: top;
                padding: 8px 50px 0 44px;
                width: 656px;
                white-space: normal;
                .category-all {
                    float: right;
                    color: #999;
                    font-size: 12px;
                    line-height: 58px;
                    .arrow {
                        display: inline-block;
                        position: relative;
                        width: 6px;
                        height: 10px;
                    }
                }
                p {
                    color: #252525;
                    font-size: 16px;
                    line-height: 58px;
                }
                .category-sub {
                    margin-bottom: 9px;
                    padding-bottom: 6px;
                    font-size: 1px;
                    text-align: justify;
                    border-bottom: 1px solid transparent;
                    border-color: #e5e5e5;
                    li {
                        display: inline-block;
                        vertical-align: top;
                        margin-bottom: 12px;
                        width: 156px;
                        a {
                            position: relative;
                            z-index: 0;
                            display: block;
                            padding: 0 8px;
                            color: #555;
                            font-size: 14px;
                            line-height: 50px;
                            text-align: center;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                            border-radius: 6px;
                            background: center;
                            background-size: cover;
                            overflow: hidden;
                        }
                    }
                }
                .category-product {
                    margin-bottom: -40px;
                    padding-top: 39px;
                    width: 690px;
                    font-size: 1px;
                    text-align: justify;
                    li {
                        display: inline-block;
                        vertical-align: top;
                        margin-bottom: 20px;
                        width: 222px;
                        font-size: 0;
                        img {
                            vertical-align: middle;
                            width: 46px;
                            height: 46px;
                            border: 0;
                        }
                        span {
                            display: inline-block;
                            vertical-align: middle;
                            margin-left: 8px;
                            max-width: 168px;
                            color: #252525;
                            font-size: 14px;
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                        }
                    }
                }
            }
        }
    }
}
.category-name:hover{
    background: white;
    
}
